salary = {'大娃':350,'二娃':300,'三娃':250,'四娃':300}
workday = {'大娃':6,'二娃':4,'三娃':5,'四娃':5}
paid = 0
for i in salary:
    print (salary[i]*workday[i])
    paid = paid + (salary[i]*workday[i])
print (paid)